
#include "StringBuffer.h"
using Pan::Char;
using Pan::StringBuffer;
using Pan::StringConst;

#include <stdio.h>

int main()
{
    wchar_t text[256];

    StringBuffer x2 = StringBuffer(256, text);

    printf("x2: %d\n", x2.is_buffer_out());

    x2 << L"Hello World";

    printf("text: %ls len:%lu\n", text, x2.length());

    return 0;
}